package com.bml.architect.springcloud;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

public class TomcatStartSpringBoot extends SpringBootServletInitializer {


    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {

        System.out.println("----------------find main start class ,this is my defining class!!!!!");
        return builder.sources(SpringBootDev1Application.class);
    }
}
